package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class Question {
    /** */
    private Long id;
    /** 标题*/
    private String title;

    /** 类型(单选/多选/判断)*/
    private Integer type;

    /** 判断正确(针对判断题才有此项)*/
    private Boolean judgeRight;
    private ExamQuestion examQuestion;
    private List<QuestionItem> questionItem;
    public Question(Long id, String title, Integer type, Boolean judgeRight) {
        this.id = id;
        this.title = title;
        this.type = type;
        this.judgeRight = judgeRight;
    }

}